package com.notary.service;

import com.notary.entity.Notary;
import com.baomidou.mybatisplus.extension.service.IService;
import com.notary.entity.po.NotaryDTO;
import com.notary.entity.vo.JsonResult;
import com.notary.seal.PersonalRegisterRequest;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 公证员基本信息 服务类
 * </p>
 *
 * @author xujun
 * @since 2020-07-28
 */
public interface NotaryService extends IService<Notary> {

    JsonResult saveNotary(NotaryDTO dto);

    JsonResult getByUserId(Integer userId);
    JsonResult workbench(HttpServletRequest httpServletRequest);

    JsonResult saveIssuePassword(Notary notary,HttpServletRequest httpServletRequest);
    JsonResult checkIssuePassword(Notary notary,HttpServletRequest httpServletRequest);

    JsonResult applyPersonalRegister(PersonalRegisterRequest vo, MultipartFile file);

    JsonResult getPersonalRegisterImg(HttpServletRequest httpServletRequest);
}
